package com.wad.manager.mapper;

import com.wad.entity.product.Brand;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wad
 * @date 2023/12/07 14:05
 * @project e-commerce
 **/

@Mapper
public interface BrandMapper {
    List<Brand> findByPage();

    void save(Brand brand);

    void update(Brand brand);

    void deleteById(@Param("id") Long id);

    List<Brand> findAll();
}
